//准备函数
jQuery(document).ready(function(){
    checkCustomize = function  application () {
    //获取流程id
    var lcId = WfForm.convertFieldNameToId("requestid");
      alert(lcId)  ;
        jQuery.ajax({
            url: "/api/weavernorth/action/application/Application/controlHoliday",
            data:{
                "Lcid":lcId
                },
            success: function (data) {
                if(data!==0){
                    alert(data);
                }
            },
            error: function () {  //请求失败时被调用的函数
                alert("加载失败，请联系管理员！")
            }
        });
    }

})

